package io.github.rascaler.dcenter.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Set;

@Configuration
@ConfigurationProperties(prefix = "binance")
@Data
public class BinanceProperties {
    // 文件路径
    private List<ProxyInfo> proxies;

    private Boolean useProxy;

    private String barsCron;

    private String memorydbPath;

    private String memorydbInstrumentName;

    private String memorydbBarName;

    private Integer saveConfigInterval;

    private Integer initBarLength;

    private Integer initMinuteLimt;

    private Set<String> frequencies;

    private Long expireTime;
}
